package com.huiztech.maystall.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.Toast;

public class OpinionActivity extends BaseActivity {

    private Button backBtn;
    private ImageButton submitBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_opinion);
        
        backBtn = (Button) findViewById(R.id.opinion_back_btn);
        backBtn.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                finish();
            }
        });
        
        submitBtn = (ImageButton) findViewById(R.id.opinion_submit_btn);
        submitBtn.setOnClickListener(new OnClickListener() {
            
            @Override
            public void onClick(View v) {
                Toast.makeText(OpinionActivity.this, "反馈成功，谢谢合作！", Toast.LENGTH_SHORT).show();
                finish();
            }
        });
    }
}
